package org.gd.hellojavacore.patterns.abstractfactory;

abstract class ShipFeeProcessor {

    abstract void calculateShipFee(Order order);
}

// Products
class EuropeShipFeeProcessor extends ShipFeeProcessor {

    public void calculateShipFee(Order order) {
        // insert here Europe specific ship fee calculation
    }
}

class CanadaShipFeeProcessor extends ShipFeeProcessor {

    public void calculateShipFee(Order order) {
        // insert here Canada specific ship fee calculation
    }
}
